import Toast from '../../../component/Toast';
import {routerRedux} from 'dva/router';

const defaultState = {
	
	search: ''
	
};

export default {

	namespace: 'bookcase',
	
	state: {...defaultState},
	
	reducers: {
		
		reset() {
			return {...defaultState};
		},
		
		setSearch(state, {search}) {
			return {...state, search};
		}
		
	},
	
	effects: {
		
	},
	
	subscriptions: {
		
	}
	
};